﻿using UnityEngine;

namespace TC
{
    public class ShowPrompt : FunctionNode
    {
        public ValueInput<string> content;

        public override void OnCreate()
        {
            base.OnCreate();

            content = this.AddValueInPort<string>("content");
        }

        public override void Execute(Dispatcher chain)
        {
            base.Execute(chain);

            Debug.Log("ShowPrompt content: " + content.Value);

            chain.Call(flowOut);
        }
    }
}
